<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <title>体验CSS语法规范</title>
    <style>
        /*／＊选择器 ｛样式｝＊*/
        /*／＊给谁改样式｛改什么样式｝＊／        */
        p {
            color:green;
            }
        div {
            color:pink;
        }
        .box {
            width: 100px;
            height: 100px;
        }
        .red {

            background-color: red;
        }
        .green {

            background-color: green;
        }
        .daf_dsafa_dsafa{
            color:rebeccapurple;
        }
        .font35 {
            font-size: 35px;
        }
    </style>
</head>

<body>
    <ul>
        <li class="red box">冰雨</li>
        <li class="red">来生缘</li>
        <li class="daf_dsafa_dsafa">李香兰</li>
        <li>生僻字</li>
        <li>江南</li>
    </ul>
    <p class="red">男生</p>
    <p>男生</p>
    <p>男生</p>
    <div>女生</div>
    <div>女生</div>
    <div>女生</div>
    <div class="red">红色</div>
    <div class="green">绿色</div>
    <div class="red">红色</div>
    <div class="green font35">刘德华</div>
</body>
</html>